var app = require('../app');
var case_status = 0,
    scene_type = null,
    case_code = null,
    begin_date = null,
    end_date = null,
    url = '';
var winHeight = $(window).height() -310,
winHeight2 = $(window).height() -270;
$(".with-window").css("height",winHeight);
$(".with-window2").css("height",winHeight2); 
$(window).resize(function() { 
    winHeight = $(window).height() -310;
    winHeight2 = $(window).height() -270;
    $(".with-window").css("height",winHeight);
    $(".with-window2").css("height",winHeight2); 
});
$('[role-click=filter]').on('click', function(){
    case_status = $('[role-ele=status]').val();
    scene_type = $('[role-ele=scene_type]').val();
    url="/smslog/index?status="+case_status+"&scene_type="+scene_type;
    window.location.href = url;
})

